//
//  TitleSelectionView.h
//  QA
//
//  Created by Yoga on 2017/5/2.
//  Copyright © 2017年 ZDQK. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface TitleSelectionView : UIView

@property (nonatomic, copy) void (^block)(NSInteger index);
@property (nonatomic, assign) NSInteger currentIndex;       // 选择的index

- (instancetype)initWithBackColor:(UIColor *)backColor TextColor:(UIColor *)textColor  SelectTextColor:(UIColor *)selectTextColor;
- (void)setTitleWithArrs:(NSArray *)arr withShowIndex:(NSInteger)index lineWidth:(CGFloat)lineWidth;
- (void)animationForLine:(NSInteger)index;
@end
